package com.dmyang.dao;

import com.dmyang.entity.HyComment;
import com.dmyang.entity.HyCommentExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface HyCommentMapper {
    int countByExample(HyCommentExample example);

    int deleteByExample(HyCommentExample example);

    int deleteByPrimaryKey(Integer commentId);

    int insert(HyComment record);

    int insertSelective(HyComment record);

    List<HyComment> selectByExample(HyCommentExample example);

    HyComment selectByPrimaryKey(Integer commentId);

    int updateByExampleSelective(@Param("record") HyComment record, @Param("example") HyCommentExample example);

    int updateByExample(@Param("record") HyComment record, @Param("example") HyCommentExample example);

    int updateByPrimaryKeySelective(HyComment record);

    int updateByPrimaryKey(HyComment record);
}